<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang='zh-CN' xml:lang='zh-CN' xmlns='http://www.w3.org/1999/xhtml'>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta http-equiv="Content-Language" content="zh-CN"/>
        <meta name="robots" content="index, follow" />
        <link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico" />
        <title>氿上网</title>
        <?php echo $this->_var['system_css']; ?>
        <?php echo $this->_var['system_js']; ?>
        <script type="text/javascript">
            $(function(){
                $("#myform").validate({
                    rules: {
                        
                        qq:{
                            number:true,
                            maxlength:11
                        },
                        mobile_phone: {
                           maxlength:11,
                           minlength:11,
                           number:true

                        },
                        province: "required"
                    },
                    messages: {
                         qq:{
                            maxlength:'qq位数不能超过11位',
                            number:'QQ必须为数字'
                        },
                        mobile_phone:{
                            minlength:'手机号码必须为11位',
                            maxlength:'手机号码必须为11位',
                            number:'手机号码必须为数字'
                        },
                        province: "请选择所在地!"
                    }
                });
            })
        </script>
    </head>
    <body>

        <div id="OSC_Screen">
            <?php echo $this->fetch('header.html'); ?>
            <div id="OSC_Content" class='CenterDiv'>
             <?php echo $this->fetch('user_nav.html'); ?>
                <?php echo $this->fetch('message.html'); ?>
                <div class="MainForm" id="reg_page">
                    <form id="myform" name="myform" action="<?php echo $this->_var['site_url']; ?>userinfo/contact" method="post" style="float:left; width:620px;">
                        <table cellspacing='0' cellpadding='0'>

                             <tr id='tr_user'>
                                <th >E-mail：</th>
                                <td>
                                    <?php echo $this->_var['data']['email']; ?>
                                </td>    			
                            </tr>
                            <tr id='tr_user'>
                                <th >QQ：</th>
                                <td>
                                    <input type='text' name='qq' id='qq' value='<?php echo $this->_var['data']['qq']; ?>' class='TEXT' style='width:300px;'/>
                                </td>    			
                            </tr>


                            <tr id='tr_user'>
                                <th >MSN：</th>
                                <td>
                                    <input type='text' name='msn' id='msn' value='<?php echo $this->_var['data']['msn']; ?>' class='TEXT' style='width:300px;'/>
                                </td>    			
                            </tr>
                            <tr id='tr_user'>
                                <th >旺旺：</th>
                                <td>
                                    <input type='text' name='alias' id='alias' value='<?php echo $this->_var['data']['alias']; ?>' class='TEXT' style='width:300px;'/>
                                </td>    			
                            </tr>
                            <tr id='tr_user'>
                                <th >手机：</th>
                                <td>
                                    <input type='text' name='mobile_phone' id='mobile_phone' value='<?php echo $this->_var['data']['mobile_phone']; ?>' class='TEXT' style='width:300px;'/>
                                </td>    			
                            </tr>
                            <tr id='tr_user'>
                                <th >办公电话：</th>
                                <td>
                                    <input type='text' name='office_phone' id='office_phone' value='<?php echo $this->_var['data']['office_phone']; ?>' class='TEXT' style='width:300px;'/>
                                </td>    			
                            </tr>
                            <tr id='tr_user'>
                                <th >家庭电话：</th>
                                <td>
                                    <input type='text' name='home_phone' id='home_phone' value='<?php echo $this->_var['data']['home_phone']; ?>' class='TEXT' style='width:300px;'/>
                                </td>    			
                            </tr>

                            <tr class='buttons'>
                                <th>&nbsp;</th>		
                                <td style='padding:20px 0;'>
                                    <input type='submit' value=' 更改 ' class='BUTTON SUBMIT'/><br/><br/>
                                </td>
                            </tr>
                        </table>
                    </form>
                    <div class='clear'></div>
                </div>

            </div>
            <div class='clear'></div></div>
        <div class='clear'></div>
        <?php echo $this->fetch('footer.html'); ?>
        </div>

    </body>
</html>
